﻿@model IEnumerable<HanGu.Entity.Manager>
@{
    ViewBag.Title = "管理员管理";
    int i = 1;
    //ViewData["CurrentController"] = "Manager";
}

<div class="pageContent">
    @Html.Partial("Buttons")
    <table class="table" width="100%" layouth="170">
        <thead>
            <tr class="header">
                <th style="width: 80px">
                    序号
                </th>
                <th>
                    账号
                </th>
                <th>
                    真实名字
                </th>
                <th>
                    创建时间
                </th>
                <th>
                    操作
                </th>
            </tr>
        </thead>
        @foreach (var item in Model)
        {            
            <tr target="@ViewData["CurrentController"]_id" rel="@item.ID" >
                <td>
                    @i
                </td>
                <td>
                    @item.User
                </td>
                <td>
                    @item.RealName
                </td>
                <td>
                    <span formatdate="yyyy-MM-dd HH:mm">
                        @item.CreateTime</span>
                </td>
                <td>
                    <a class="edit" style=" margin-left:10px" href="admin/Manager/ReSetPwd/@item.ID" target="navTab" rel="ReSepPwd">
                        修改密码</a>
                </td>
            </tr>
            i += 1;
        }
    </table>
</div>
